package com.itheima.service;

import com.itheima.pojo.Member;
import com.itheima.pojo.Menu;
import com.itheima.pojo.Menu2;

import java.util.List;

import java.util.List;

import java.util.List;
import java.util.Map;

/**
 * @author liam
 * @description
 * @date 2020/3/3-17:10
 * @Version 1.0.0
 */
public interface MemberService {

    Member findByTelephone(String telephone);

    Member add(Member member);

    List<Map<String,Object>> getMemberSex();

    List<Map<String,Object>> getAgeAndNum();


    //根据当前登录的用户id 查询用户的家庭联系人
    List<Member> getFamily(Integer id);

    List<Menu2> getMenuList(List<Integer> roleIds);
}
